package com.ruoyi.resource.mapper;

import java.util.List;
import com.ruoyi.resource.domain.SysBusinessResourceVideo;

/**
 * 视频资源Mapper接口
 *
 * @author ruoyi
 * @date 2023-12-22
 */
public interface SysBusinessResourceVideoMapper
{
    /**
     * 查询视频资源
     *
     * @param videoId 视频资源主键
     * @return 视频资源
     */
    public SysBusinessResourceVideo selectSysBusinessResourceVideoByVideoId(Long videoId);

    /**
     * 查询视频资源列表
     *
     * @param sysBusinessResourceVideo 视频资源
     * @return 视频资源集合
     */
    public List<SysBusinessResourceVideo> selectSysBusinessResourceVideoList(SysBusinessResourceVideo sysBusinessResourceVideo);

    /**
     * 新增视频资源
     *
     * @param sysBusinessResourceVideo 视频资源
     * @return 结果
     */
    public int insertSysBusinessResourceVideo(SysBusinessResourceVideo sysBusinessResourceVideo);

    /**
     * 修改视频资源
     *
     * @param sysBusinessResourceVideo 视频资源
     * @return 结果
     */
    public int updateSysBusinessResourceVideo(SysBusinessResourceVideo sysBusinessResourceVideo);

    /**
     * 删除视频资源
     *
     * @param videoId 视频资源主键
     * @return 结果
     */
    public int deleteSysBusinessResourceVideoByVideoId(Long videoId);

    /**
     * 批量删除视频资源
     *
     * @param videoIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysBusinessResourceVideoByVideoIds(Long[] videoIds);

    int BackSysBusinessDynamic(SysBusinessResourceVideo sysBusinessResourceVideo);
}
